import axios from "../../../../../../../../util/axios";
// 砍价商品数据
async function kanjshop(body) {
    return await axios.get('/bargain', body)
}
// 砍价商品数据删除
async function kanjshopdel(query) {
    return await axios.get(`/bargaindleat?id=${query.id}`)
}
// 砍价商品数据筛选
async function kanjshopFillter(body) {
    return await axios.get('/bargainsous', body)
}
// 砍价商品搜索
async function kanjshopSearch(body) {
    return await axios.get('/bargainsous', body)
}
// 砍价列表数据
async function kanjlist(body) {
    return await axios.get('/bargainkill', body)
}
// 砍价列表数据删除
async function kanjlistdel(query) {
    console.log(query.id)
    return await axios.get(`/bargainkilldleat?id=${query.id}`)
}
// 砍价列表数据筛选
async function kanjlistfilter(body) {
    return await axios.get('/bargainkillsous', body)
}
export {
    kanjshop,
    kanjshopdel,
    kanjshopFillter,
    kanjshopSearch,

    kanjlist,
    kanjlistdel,
    kanjlistfilter,
}



